package com.xy.modular.sys.service.impl;

import com.xy.modular.sys.entity.Tenant;
import com.xy.modular.sys.dao.TenantMapper;
import com.xy.modular.sys.service.ITenantService;
import com.xy.framework.base.service.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import com.xy.framework.base.dao.IBaseDao;
import com.xy.framework.exceptions.ValidateParamException;

/**
 * <p>
 * 租户表 服务实现类
 * </p>
 *
 * @author BCK
 * @since 2019-12-15
 */
@Service("tenantService")
public class TenantServiceImpl extends BaseServiceImpl<Tenant, String> implements ITenantService {
	@Resource
	private TenantMapper tenantMapper;

	@SuppressWarnings("rawtypes")
	@Override
	protected IBaseDao getBaseDao() {
		return this.tenantMapper;
	}

	@Override
	public void validateEntity(Tenant e) throws ValidateParamException {
		// TODO Auto-generated method stub
		
	}
}

	

